package 设计模式.创建者模式.单例模式.Enum;

/**
 * @Author: kirito
 * @Date: 2024/3/8 11:36
 * @Description: TODO
 */

public class Client {
    public static void main(String[] args) {
        Singleton instance = Singleton.INSTANCE;
        Singleton instance1 = Singleton.INSTANCE;
        //true
        System.out.println(instance == instance1);

    }
}
